package test.mllib.collaborativeFiltering;

import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;

public class MakeFile {
	public static void main(String[] args) throws IOException {
		File dir = new File("..\\..\\data\\spark\\mllib\\");
		dir.mkdirs();
		FileOutputStream fos = new FileOutputStream("..\\..\\data\\spark\\mllib\\FpGrowhTest.txt");
		fos.write(("A B F\n").getBytes());
		fos.write(("A B F\n").getBytes());
		fos.write(("A B F\n").getBytes());
		fos.write(("A C\n").getBytes());
		fos.write(("B A F\n").getBytes());
		fos.write(("B A F\n").getBytes());
		fos.write(("B D\n").getBytes());
		fos.write(("B E\n").getBytes());
		fos.write(("B F\n").getBytes());
		fos.write(("D F\n").getBytes());
		fos.write(("C E\n").getBytes());
		fos.close();
	}
}
